<%@page import="com.util.DBConn"%><%@page import="com.guest.GuestDAO"%><%@ page contentType="text/html; charset=UTF-8" %><%	request.setCharacterEncoding("UTF-8");	String cp = request.getContextPath();%><jsp:useBean id="dto" class="com.guest.GuestDTO" scope="page"/><jsp:setProperty property="*" name="dto"/><%    GuestDAO dao = new GuestDAO(DBConn.getConnection());    int maxNum = dao.getMaxNum();    dto.setNum(maxNum+1);    dto.setIpAddr(request.getRemoteAddr());        int result = dao.insertData(dto);    DBConn.close();        response.sendRedirect("guest.jsp");%>